package ai.people.netmon.warning.mapper;

import ai.people.netmon.framework.domain.warning.entity.WarningAccountLabelRelation;
import ai.people.netmon.framework.domain.warning.entity.WarningLabelTree;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author ligua
* @description 针对表【warning_label_tree(标签库-标签)】的数据库操作Mapper
* @createDate 2022-08-08 20:45:34
* @Entity ai.people.netmon.framework.domain.warning.entity.WarningLabelTree
*/
public interface WarningLabelTreeMapper extends BaseMapper<WarningLabelTree> {

    /**
     * 通过账户查询标签
     *
     * @param accountIds 帐户id
     * @return {@link List}<{@link WarningAccountLabelRelation}>
     */
    List<WarningAccountLabelRelation> queryLabelByAccount(List<Long> accountIds);


}




